Tom,
I am clicking on the two boxes that are circled(output and state for encoder 0), and when I do so the spindle turns on.
Basically I am trying to get my spindle to turn on with the M3 in KMotionCNC. I believe I verified that it is wired correctly because I can force it on by checking the two boxes above.
The program that I pasted into my first post was the sample program in the KMotionCNC folder for the KStep. My assumption was that this is the proper way to turn on the spindle.

![]()
This doesnt seem to be working. Rather than running the program in a thread, should I just set bit "0" to "1" for M3? I Then off (M5) by setting bit "0" back to "0"?
Once I get it turning on and off I am hoping to set the RPM using what you described in a previous post (right now I have the spindle speed set internally on the controller). However I cant even turn it on yet, much less calibrate the speed.
Thanks again for the help - I am still quite the novice here.
Scott